﻿<UserControl x:Class="TrackMe.View.Frames.Report"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
    xmlns:vm="clr-namespace:TrackMe.Apps.VM;assembly=TrackMe.Apps"
    d:DataContext="{d:DesignInstance vm:ReportVM}" 
    mc:Ignorable="d" 
    d:DesignHeight="300"
    d:DesignWidth="300">
    <DockPanel>
        <ToolBar DockPanel.Dock="Top" Height="32">
            <Button Content="XLS" Command="{Binding ExportToExcelCmd}" Height="23"/>
            <Label Content=" _Period " Target="{Binding ElementName=period}" VerticalContentAlignment="Center"/>
        	<ComboBox Name="period"
        	          Width="150"
        	          ItemsSource="{Binding PeriodItems}"
                      SelectedIndex="{Binding SelectedPeriodIndex, Mode=TwoWay}"
        	          Height="23">
        	</ComboBox> 
        	<ComboBox Name="kind"
        	          Width="150"
        	          ItemsSource="{Binding KindItems}"
                      SelectedIndex="{Binding SelectedKindIndex, Mode=TwoWay}"
        	          Height="23">
        	</ComboBox> 
        </ToolBar>
<!--        ItemsSource="{Binding Model.Cells}"-->
        <ListView x:Name="list" >
            <ListView.View>
                <GridView x:Name="grid">
                    
                </GridView>
            </ListView.View>
        </ListView>
    </DockPanel>
</UserControl>
